<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="order by dede58.com"/>
    <title>个人信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/bootstrap/css/bootstrap.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/global.css" media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/personal.css" media="all">
</head>
<body>
<section class="layui-larry-box">
    <form class="layui-form" action="/empact/update">
        <input type="text" name="id" value="${id}" hidden>
        <div class="layui-form-item">
            <label class="layui-form-label">${yy}原因</label>
            <div class="layui-input-block">
                <c:if test="${yy=='续签'}">
                    <input type="text" name="dissolutiondesc" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </c:if>
                <c:if test="${yy=='终止'}">
                    <input type="text" name="extenddesc" lay-verify="required" autocomplete="off" class="layui-input">
                </c:if>
                <c:if test="${yy=='解除'}">
                    <input type="text" name="terminationdesc" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </c:if>
            </div>
        </div>
        <input type="submit" value="确认${yy}" class="layui-btn layui-btn-small layui-btn-normal"/>
    </form>
    </div>
    </div>
</section>
<script type="text/javascript" src="${pageContext.request.contextPath}/common/layui/layui.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/newslist.js"></script>
<script>
    //Demo
    layui.use('form', function () {
        var form = layui.form;

        //监听提交
        form.on('submit(formDemo)', function (data) {
            layer.msg(JSON.stringify(data.field));
            return false;
        });
    });
</script>
</body>
</html>
